<template>
  <div class="m-count">
    {{count}}
  </div>
</template>

<script>
export default {
  name: "count",
  data() {
    return {};
  },
  computed: {
    count() {
      return store.state.count;
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.m-one {
  width: 100%;
  height: 100px;
  line-height: 100px;
  text-align: center;
  background-color: lightblue;
}
</style>
